package com.ruoyi.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.order.domain.MemberCardOrder;

import java.util.List;

/**
 * 会员卡订单Service接口
 *
 * @author HHAOYU
 * @date 2021-01-04
 */
public interface IMemberCardOrderService  extends IService<MemberCardOrder> {

    /**
     * 查询会员卡订单
     *
     * @param id 会员卡订单ID
     * @return 会员卡订单
     */
    public MemberCardOrder selectMemberCardOrderById(Long id);

    /**
     * 查询会员卡订单列表
     *
     * @param memberCardOrder 会员卡订单
     * @return 会员卡订单集合
     */
    public List<MemberCardOrder> selectMemberCardOrderList(MemberCardOrder memberCardOrder);

    /**
     * 新增会员卡订单
     *
     * @param memberCardOrder 会员卡订单
     * @return 结果
     */
    public int insertMemberCardOrder(MemberCardOrder memberCardOrder);

    /**
     * 修改会员卡订单
     *
     * @param memberCardOrder 会员卡订单
     * @return 结果
     */
    public int updateMemberCardOrder(MemberCardOrder memberCardOrder);

    /**
     * 批量删除会员卡订单
     *
     * @param ids 需要删除的会员卡订单ID
     * @return 结果
     */
    public int deleteMemberCardOrderByIds(Long[] ids);

    /**
     * 删除会员卡订单信息
     *
     * @param id 会员卡订单ID
     * @return 结果
     */
    public int deleteMemberCardOrderById(Long id);
}
